<?php

class DefaultController extends Controller
{
	public function actionIndex()
	{
		//$this->render('index');
                $event=new Event;
                $event->title = 'title';
                $event->user_id = '1';
                $event->start = '125845';
                $event->end = '124556';
                $event->allDay = '1';
                $event->editable = '1';
                $event->save();
                
	}
}